package entities;

import services.impl.StandardOPs;
import java.util.List;
import java.util.LinkedList;
import java.util.ArrayList;
import java.util.Arrays;
import java.time.LocalDate;
import java.io.Serializable;
import java.lang.reflect.Method;

public class Daily implements Serializable {
	
	/* all primary attributes */
	private String Id;
	private AffairType Affair;
	private boolean Agree;
	private String BelongGroup;
	private String BelongUser;
	private boolean Finish;
	private String Content;
	
	/* all references */
	private Student DailyBelongStudent; 
	private Teacher DailytoTeacher; 
	
	/* all get and set functions */
	public String getId() {
		return Id;
	}	
	
	public void setId(String id) {
		this.Id = id;
	}
	public AffairType getAffair() {
		return Affair;
	}	
	
	public void setAffair(AffairType affair) {
		this.Affair = affair;
	}
	public boolean getAgree() {
		return Agree;
	}	
	
	public void setAgree(boolean agree) {
		this.Agree = agree;
	}
	public String getBelongGroup() {
		return BelongGroup;
	}	
	
	public void setBelongGroup(String belonggroup) {
		this.BelongGroup = belonggroup;
	}
	public String getBelongUser() {
		return BelongUser;
	}	
	
	public void setBelongUser(String belonguser) {
		this.BelongUser = belonguser;
	}
	public boolean getFinish() {
		return Finish;
	}	
	
	public void setFinish(boolean finish) {
		this.Finish = finish;
	}
	public String getContent() {
		return Content;
	}	
	
	public void setContent(String content) {
		this.Content = content;
	}
	
	/* all functions for reference*/
	public Student getDailyBelongStudent() {
		return DailyBelongStudent;
	}	
	
	public void setDailyBelongStudent(Student student) {
		this.DailyBelongStudent = student;
	}			
	public Teacher getDailytoTeacher() {
		return DailytoTeacher;
	}	
	
	public void setDailytoTeacher(Teacher teacher) {
		this.DailytoTeacher = teacher;
	}			
	


}
